package cn.imvc.app.repositories;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.VoucherTemplate;
import cn.imvc.data.jpa.repository.IJpqlExecutor;

public interface VoucherTemplateRepository extends JpaRepository<VoucherTemplate, Integer>, IJpqlExecutor<VoucherTemplate> {
	
	public VoucherTemplate findByCodeAndState(String code,Byte state);
}
